package cn.itsource.org.domain;

import cn.itsource.basic.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;

@Data //生成get  set  hashcode equals toString方法
@AllArgsConstructor// 全参数构造
@NoArgsConstructor // 无参数构造
@Table(name = "t_employee") //指向表名
@ApiModel(description = "员工对象类")
public class Employee extends BaseDomain {

    //用户名
    private String username;
    //邮箱
    private String email;
    //手机号
    private String phone;
    //密码
    private String password;
    //年龄
    private Integer age;
    //状态 1正常 0 禁用
    private Integer state;
    //部门id
    private Long department_id;
    //。。。。
    private Long logininfo_id;
    //店铺id
    private Long shop_id;
    //。。。
    private Long parent_id;
    //。。。。
    private Long manager_id;
}
